home *** CD-ROM | disk | FTP | other *** search
/ Fraggle Rock Season 1 Bonus CD / Fraggle Rock Season 1 Bonus CD.iso / pc / Game / Game.swf / scripts / DefineSprite_565 / frame_1 / DoAction.as
Encoding:
Text File  |  2005-06-24  |  609 b   |  33 lines

  1. function crankstart()
  2. {
  3.    _root.game.stopsound("s_cranklong");
  4.    _root.game.soundvolume("s_cranklong",50);
  5.    _root.game.playsound("s_cranklong");
  6.    gotoAndStop("pull");
  7.    play();
  8. }
  9. function crankdone()
  10. {
  11.    _root.game.stopsound("s_cranklong");
  12.    gotoAndStop("pullout");
  13.    play();
  14. }
  15. function sit()
  16. {
  17.    gotoAndStop("lunch");
  18.    play();
  19. }
  20. function walk()
  21. {
  22.    gotoAndStop("grab");
  23.    play();
  24. }
  25. function crank()
  26. {
  27.    _root.game.stopsound("s_crank");
  28.    _root.game.soundvolume("s_crank",40);
  29.    _root.game.playsoundfrom("s_crank",0.2);
  30.    gotoAndStop("crank");
  31.    play();
  32. }
  33.